package com.ssy.lingxi.pay.model.vo.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.PositiveOrZero;
import java.io.Serializable;

/**
 * 确认还款VO
 * @author 伍将
 * @date 2020/8/28
 * @version 2.0.0
 */
public class CreditConfirmRepayVO implements Serializable {
    private static final long serialVersionUID = 5177378067923370458L;

    /**
     * 交易记录Id
     */
    @NotNull(message = "交易记录id要大于等于0")
    @PositiveOrZero(message = "交易记录id要大于等于0")
    private Long recordId;

    /**
     * 还款状态：2-确认未到账, 3-确认到账
     */
    @NotNull(message = "还款状态不能为空")
    @PositiveOrZero(message = "还款状态要大于0")
    private Integer status;

    public Long getRecordId() {
        return recordId;
    }

    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
